package com.hospital.hospitalserver.entity.Vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 就诊数据响应加载对象
 * */
@Data
public class PatientVisit {
    private Integer visit_id; //挂号就诊记录ID
    private String appointment_id; //挂号编号-系统生成
    private String insurance_card_number;//医保卡号
    private String patient_name; //患者姓名
    private String id_number; //身份证号
    private String phone_number; //手机号码
    //挂号相关信息
    private LocalDateTime registration_time; //挂号时间
    private BigDecimal registration_fee; //挂号费
    //就诊记录信息
    private String visit_type; //就诊类型: outpatient门诊, emergency急诊, inpatient住院
    private String visit_status; //就诊状态: registered已挂号, in_consultation就诊中, completed已完成, cancelled已取消
    private Integer department_id; //就诊科室ID
    private String department_name; //就诊科室名称
    private Integer doctor_id; //接诊医生ID
    private String doctor_name; //接诊医生姓名
    // 关联排班实例id
    private Integer schedule_instance_id;
    //临床信息
    private String chief_complaint; //主诉
    private String medical_history; //现病史
    private String allergy_history; //过敏史
    //其他
    private LocalDateTime visit_time; //就诊时间-叫号结束开始问诊时更新
    private LocalDateTime complete_time; //完成时间-完成问诊和检查后，开具治疗项目后更新
    private LocalDateTime create_time; //创建挂号时
    private LocalDateTime update_time; //这个挂号基本用不上
}
